package com.yangff.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yangff.entity.admin.entity.Admin;
import com.yangff.entity.admin.entity.dto.AdminDTO;
import com.yangff.entity.dto.AccountDTO;
import com.yangff.entity.vo.JwtVo;
import com.yangff.entity.vo.ResultVo;
import org.springframework.web.bind.annotation.RequestBody;

import java.security.NoSuchAlgorithmException;

/**
 * <p>
 * 存储管理员的基本信息 服务类
 * </p>
 *
 * @author yangff
 * @since 2025-01-15
 */
public interface IAdminService extends IService<Admin> {
   Admin updateAdminByAccount(@RequestBody AdminDTO adminDTO) throws NoSuchAlgorithmException;

   JwtVo login(AccountDTO accountDTO) throws Exception;
}
